/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package propres;

/**
 * 
 * @author david
 */
import java.io.*;
abstract class g_disco {
abstract public Object llegir_objecte() throws IOException , ClassNotFoundException;///no hacer casos a lo de int,se sobreescribe la clase
abstract void guardar_objecte(Object o)throws IOException;

abstract public Object llegir_objecte2(String path) throws IOException , ClassNotFoundException;///no hacer casos a lo de int,se sobreescribe la clase
abstract void guardar_objecte2(Object o,String path)throws IOException;

}